<template>
  <div class="app-container">
    <n-list>
      <n-list-item @click="handleClick">
        <template #prefix>
          <svg-icon name="wx-souyisou" :size="36" color="#fa5151" />
        </template>
        <template #suffix>
          <svg-icon name="arrow-right" />
        </template>
        <n-thing title="搜索网络结果" description="文章、公众号、视频号等" />
      </n-list-item>
    </n-list>
  </div>
</template>

<script setup>

import { useWindow } from "@/hooks/useWindow.js";
const { createWindow } = useWindow();

// 搜一搜
const handleClick = async () => {
  await createWindow('souyisou', {
    title: '搜一搜',
    decorations: false,
    width: 900,
    height: 640,
  });
};
</script>

<style lang="scss" scoped>
@use "@/assets/css/n-list-reset.scss";
</style>
